package cn.iocoder.mall.user.biz.service;

import cn.iocoder.mall.user.api.bo.MemberShopCollectionBO;
import cn.iocoder.mall.user.biz.dataobject.MemberShopCollectionDO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/***
 *@author yinxucun
 *@date 2019-12-28 13:50 
 */
public interface IMemberShopCollectionService extends IService<MemberShopCollectionDO> {
    IPage<MemberShopCollectionBO> getListByUserId (Page page, String userId);

    Boolean removeUserFavorite(String userId,String shopId);

    Boolean hasUserSpuFavorite(String userIdByToken, String shopId);
}
